package cn.zspt.phonebook.service;

import cn.zspt.phonebook.domain.PhoneBook;

import java.util.List;
import java.util.Map;

public interface PhoneService {
    List<PhoneBook> findAllPhoneBook();

    List<PhoneBook> findPhoneBookByName(String keyword);

    void addPhoneBook(PhoneBook phoneBook);
    Map<String,List<PhoneBook>> findAllPhoneBooksByGroup();
}
